#-------------------------------------------------
#
# Project created by QtCreator 2025-05-23T00:39:17
#
#-------------------------------------------------

QT       += core gui
QT       += serialport
QT       += sql
QT       += network
QT       += charts

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Partone
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11

SOURCES += \
        main.cpp \
        widget.cpp \
    iot_mqtt/mqtt_sdk/aes.c \
    iot_mqtt/mqtt_sdk/aiot_bootstrap_api.c \
    iot_mqtt/mqtt_sdk/aiot_devinfo_api.c \
    iot_mqtt/mqtt_sdk/aiot_diag_api.c \
    iot_mqtt/mqtt_sdk/aiot_dm_api.c \
    iot_mqtt/mqtt_sdk/aiot_logpost_api.c \
    iot_mqtt/mqtt_sdk/aiot_mqtt_api.c \
    iot_mqtt/mqtt_sdk/aiot_mqtt_download_api.c \
    iot_mqtt/mqtt_sdk/aiot_ntp_api.c \
    iot_mqtt/mqtt_sdk/aiot_ota_api.c \
    iot_mqtt/mqtt_sdk/aiot_shadow_api.c \
    iot_mqtt/mqtt_sdk/aiot_state_api.c \
    iot_mqtt/mqtt_sdk/aiot_subdev_api.c \
    iot_mqtt/mqtt_sdk/aiot_task_api.c \
    iot_mqtt/mqtt_sdk/ali_ca_cert.c \
    iot_mqtt/mqtt_sdk/asn1parse.c \
    iot_mqtt/mqtt_sdk/base64.c \
    iot_mqtt/mqtt_sdk/bignum.c \
    iot_mqtt/mqtt_sdk/cipher.c \
    iot_mqtt/mqtt_sdk/cipher_wrap.c \
    iot_mqtt/mqtt_sdk/cJSON.c \
    iot_mqtt/mqtt_sdk/core_adapter.c \
    iot_mqtt/mqtt_sdk/core_auth.c \
    iot_mqtt/mqtt_sdk/core_diag.c \
    iot_mqtt/mqtt_sdk/core_global.c \
    iot_mqtt/mqtt_sdk/core_http.c \
    iot_mqtt/mqtt_sdk/core_log.c \
    iot_mqtt/mqtt_sdk/core_sha256.c \
    iot_mqtt/mqtt_sdk/core_string.c \
    iot_mqtt/mqtt_sdk/core_sysdep.c \
    iot_mqtt/mqtt_sdk/ctr_drbg.c \
    iot_mqtt/mqtt_sdk/debug.c \
    iot_mqtt/mqtt_sdk/entropy.c \
    iot_mqtt/mqtt_sdk/entropy_poll.c \
    iot_mqtt/mqtt_sdk/error.c \
    iot_mqtt/mqtt_sdk/md.c \
    iot_mqtt/mqtt_sdk/md_wrap.c \
    iot_mqtt/mqtt_sdk/net_sockets.c \
    iot_mqtt/mqtt_sdk/oid.c \
    iot_mqtt/mqtt_sdk/ota_md5.c \
    iot_mqtt/mqtt_sdk/pem.c \
    iot_mqtt/mqtt_sdk/pk.c \
    iot_mqtt/mqtt_sdk/pk_wrap.c \
    iot_mqtt/mqtt_sdk/pkparse.c \
    iot_mqtt/mqtt_sdk/platform.c \
    iot_mqtt/mqtt_sdk/posix_port.c \
    iot_mqtt/mqtt_sdk/rsa.c \
    iot_mqtt/mqtt_sdk/sha1.c \
    iot_mqtt/mqtt_sdk/sha256.c \
    iot_mqtt/mqtt_sdk/ssl_ciphersuites.c \
    iot_mqtt/mqtt_sdk/ssl_cli.c \
    iot_mqtt/mqtt_sdk/ssl_cookie.c \
    iot_mqtt/mqtt_sdk/ssl_tls.c \
    iot_mqtt/mqtt_sdk/timing.c \
    iot_mqtt/mqtt_sdk/x509.c \
    iot_mqtt/mqtt_sdk/x509_crt.c \
    iot_mqtt/data_model_basic_demo.c \
    chart.cpp

HEADERS += \
        widget.h \
    iot_mqtt/mqtt_sdk/mbedtls/aes.h \
    iot_mqtt/mqtt_sdk/mbedtls/asn1.h \
    iot_mqtt/mqtt_sdk/mbedtls/base64.h \
    iot_mqtt/mqtt_sdk/mbedtls/bignum.h \
    iot_mqtt/mqtt_sdk/mbedtls/bn_mul.h \
    iot_mqtt/mqtt_sdk/mbedtls/check_config.h \
    iot_mqtt/mqtt_sdk/mbedtls/cipher.h \
    iot_mqtt/mqtt_sdk/mbedtls/cipher_internal.h \
    iot_mqtt/mqtt_sdk/mbedtls/config.h \
    iot_mqtt/mqtt_sdk/mbedtls/ctr_drbg.h \
    iot_mqtt/mqtt_sdk/mbedtls/debug.h \
    iot_mqtt/mqtt_sdk/mbedtls/des.h \
    iot_mqtt/mqtt_sdk/mbedtls/ecp.h \
    iot_mqtt/mqtt_sdk/mbedtls/entropy.h \
    iot_mqtt/mqtt_sdk/mbedtls/entropy_poll.h \
    iot_mqtt/mqtt_sdk/mbedtls/error.h \
    iot_mqtt/mqtt_sdk/mbedtls/md.h \
    iot_mqtt/mqtt_sdk/mbedtls/md5.h \
    iot_mqtt/mqtt_sdk/mbedtls/md_internal.h \
    iot_mqtt/mqtt_sdk/mbedtls/net.h \
    iot_mqtt/mqtt_sdk/mbedtls/net_sockets.h \
    iot_mqtt/mqtt_sdk/mbedtls/oid.h \
    iot_mqtt/mqtt_sdk/mbedtls/pem.h \
    iot_mqtt/mqtt_sdk/mbedtls/pk.h \
    iot_mqtt/mqtt_sdk/mbedtls/pk_internal.h \
    iot_mqtt/mqtt_sdk/mbedtls/platform.h \
    iot_mqtt/mqtt_sdk/mbedtls/rsa.h \
    iot_mqtt/mqtt_sdk/mbedtls/sha1.h \
    iot_mqtt/mqtt_sdk/mbedtls/sha256.h \
    iot_mqtt/mqtt_sdk/mbedtls/ssl.h \
    iot_mqtt/mqtt_sdk/mbedtls/ssl_ciphersuites.h \
    iot_mqtt/mqtt_sdk/mbedtls/ssl_cookie.h \
    iot_mqtt/mqtt_sdk/mbedtls/ssl_internal.h \
    iot_mqtt/mqtt_sdk/mbedtls/timing.h \
    iot_mqtt/mqtt_sdk/mbedtls/x509.h \
    iot_mqtt/mqtt_sdk/mbedtls/x509_crl.h \
    iot_mqtt/mqtt_sdk/mbedtls/x509_crt.h \
    iot_mqtt/mqtt_sdk/aes.h \
    iot_mqtt/mqtt_sdk/aiot_bootstrap_api.h \
    iot_mqtt/mqtt_sdk/aiot_devinfo_api.h \
    iot_mqtt/mqtt_sdk/aiot_diag_api.h \
    iot_mqtt/mqtt_sdk/aiot_dm_api.h \
    iot_mqtt/mqtt_sdk/aiot_http_api.h \
    iot_mqtt/mqtt_sdk/aiot_logpost_api.h \
    iot_mqtt/mqtt_sdk/aiot_mqtt_api.h \
    iot_mqtt/mqtt_sdk/aiot_mqtt_download_api.h \
    iot_mqtt/mqtt_sdk/aiot_ntp_api.h \
    iot_mqtt/mqtt_sdk/aiot_ota_api.h \
    iot_mqtt/mqtt_sdk/aiot_shadow_api.h \
    iot_mqtt/mqtt_sdk/aiot_state_api.h \
    iot_mqtt/mqtt_sdk/aiot_subdev_api.h \
    iot_mqtt/mqtt_sdk/aiot_sysdep_api.h \
    iot_mqtt/mqtt_sdk/aiot_task_api.h \
    iot_mqtt/mqtt_sdk/asn1.h \
    iot_mqtt/mqtt_sdk/base64.h \
    iot_mqtt/mqtt_sdk/bignum.h \
    iot_mqtt/mqtt_sdk/bn_mul.h \
    iot_mqtt/mqtt_sdk/bootstrap_private.h \
    iot_mqtt/mqtt_sdk/check_config.h \
    iot_mqtt/mqtt_sdk/cipher.h \
    iot_mqtt/mqtt_sdk/cipher_internal.h \
    iot_mqtt/mqtt_sdk/cJSON.h \
    iot_mqtt/mqtt_sdk/config.h \
    iot_mqtt/mqtt_sdk/core_adapter.h \
    iot_mqtt/mqtt_sdk/core_auth.h \
    iot_mqtt/mqtt_sdk/core_diag.h \
    iot_mqtt/mqtt_sdk/core_global.h \
    iot_mqtt/mqtt_sdk/core_http.h \
    iot_mqtt/mqtt_sdk/core_list.h \
    iot_mqtt/mqtt_sdk/core_log.h \
    iot_mqtt/mqtt_sdk/core_mqtt.h \
    iot_mqtt/mqtt_sdk/core_sha256.h \
    iot_mqtt/mqtt_sdk/core_stdinc.h \
    iot_mqtt/mqtt_sdk/core_string.h \
    iot_mqtt/mqtt_sdk/core_sysdep.h \
    iot_mqtt/mqtt_sdk/ctr_drbg.h \
    iot_mqtt/mqtt_sdk/debug.h \
    iot_mqtt/mqtt_sdk/des.h \
    iot_mqtt/mqtt_sdk/devinfo_private.h \
    iot_mqtt/mqtt_sdk/diag_private.h \
    iot_mqtt/mqtt_sdk/dm_private.h \
    iot_mqtt/mqtt_sdk/ecp.h \
    iot_mqtt/mqtt_sdk/entropy.h \
    iot_mqtt/mqtt_sdk/entropy_poll.h \
    iot_mqtt/mqtt_sdk/error.h \
    iot_mqtt/mqtt_sdk/logpost_private.h \
    iot_mqtt/mqtt_sdk/md.h \
    iot_mqtt/mqtt_sdk/md5.h \
    iot_mqtt/mqtt_sdk/md_internal.h \
    iot_mqtt/mqtt_sdk/mqtt_download_private.h \
    iot_mqtt/mqtt_sdk/net.h \
    iot_mqtt/mqtt_sdk/net_sockets.h \
    iot_mqtt/mqtt_sdk/ntp_private.h \
    iot_mqtt/mqtt_sdk/oid.h \
    iot_mqtt/mqtt_sdk/ota_md5.h \
    iot_mqtt/mqtt_sdk/ota_private.h \
    iot_mqtt/mqtt_sdk/pem.h \
    iot_mqtt/mqtt_sdk/pk.h \
    iot_mqtt/mqtt_sdk/pk_internal.h \
    iot_mqtt/mqtt_sdk/platform.h \
    iot_mqtt/mqtt_sdk/rsa.h \
    iot_mqtt/mqtt_sdk/sha1.h \
    iot_mqtt/mqtt_sdk/sha256.h \
    iot_mqtt/mqtt_sdk/shadow_private.h \
    iot_mqtt/mqtt_sdk/ssl.h \
    iot_mqtt/mqtt_sdk/ssl_ciphersuites.h \
    iot_mqtt/mqtt_sdk/ssl_cookie.h \
    iot_mqtt/mqtt_sdk/ssl_internal.h \
    iot_mqtt/mqtt_sdk/subdev_private.h \
    iot_mqtt/mqtt_sdk/task_private.h \
    iot_mqtt/mqtt_sdk/timing.h \
    iot_mqtt/mqtt_sdk/x509.h \
    iot_mqtt/mqtt_sdk/x509_crl.h \
    iot_mqtt/mqtt_sdk/x509_crt.h \
    iot_mqtt/data_model_basic_demo.h \
    iot_mqtt/recv.h \
    chart.h


FORMS += \
        widget.ui \
    chart.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    iot_mqtt/mqtt_sdk/aiot_sysdep_api.h.gch

RESOURCES += \
    paintmore.qrc
